package com.nyist.zk.entities;
/**
 * 患者的实体类
 * */
public class Patient {
    //患者的id
    private Integer p_id;
    //患者的姓名
    private String p_name;
    //患者的性别 1 代表 1男 , 2 代表 2女
    private Integer p_sex;
    //患者的年龄
    private Integer p_age;
    //患者的科室
    private String p_blood;
    //患者的住址
    private String p_address;
    //患者的手机号
    private String p_tel;
    //患者的登录密码
    private String p_password;
    //患者的账户余额
    private Integer p_doctor;

    public Patient() {
        super();
    }

    @Override
    public String toString() {
        return "Patient{" +
                "p_id=" + p_id +
                ", p_name='" + p_name + '\'' +
                ", p_sex=" + p_sex +
                ", p_age=" + p_age +
                ", p_blood='" + p_blood + '\'' +
                ", p_address='" + p_address + '\'' +
                ", p_tel='" + p_tel + '\'' +
                ", p_password='" + p_password + '\'' +
                ", p_doctor=" + p_doctor +
                '}';
    }

    public Patient(Integer p_id, String p_name, Integer p_sex, Integer p_age, String p_blood, String p_address, String p_tel, String p_password, Integer p_doctor) {
        this.p_id = p_id;
        this.p_name = p_name;
        this.p_sex = p_sex;
        this.p_age = p_age;
        this.p_blood = p_blood;
        this.p_address = p_address;
        this.p_tel = p_tel;
        this.p_password = p_password;
        this.p_doctor = p_doctor;
    }

    public Integer getP_id() {
        return p_id;
    }

    public void setP_id(Integer p_id) {
        this.p_id = p_id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public Integer getP_sex() {
        return p_sex;
    }

    public void setP_sex(Integer p_sex) {
        this.p_sex = p_sex;
    }

    public Integer getP_age() {
        return p_age;
    }

    public void setP_age(Integer p_age) {
        this.p_age = p_age;
    }

    public String getP_blood() {
        return p_blood;
    }

    public void setP_blood(String p_blood) {
        this.p_blood = p_blood;
    }

    public String getP_address() {
        return p_address;
    }

    public void setP_address(String p_address) {
        this.p_address = p_address;
    }

    public String getP_tel() {
        return p_tel;
    }

    public void setP_tel(String p_tel) {
        this.p_tel = p_tel;
    }

    public String getP_password() {
        return p_password;
    }

    public void setP_password(String p_password) {
        this.p_password = p_password;
    }

    public Integer getP_doctor() {
        return p_doctor;
    }

    public void setP_doctor(Integer p_doctor) {
        this.p_doctor = p_doctor;
    }
}
